/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package event;

import java.util.EventObject;

import java.util.Date;



public class DateEvent extends EventObject  {

    private Date date;
    private String data;



    public DateEvent(Object source, Date date) {

        super(source);

        this.date = date;


    }

 public DateEvent(Object source, String data) {

        super(source);

        this.data = data;

    }

    public Date getDate() {

       return this.date;

    }

      public String getDateString() {

       return this.data;

    }

}
